package com.pain.scaffold.admin.backend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pain.scaffold.common.model.mysql.DomainBase2;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户表")
@TableName("user")
public class User extends DomainBase2 {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("用户住址")
    private String address;

    @ApiModelProperty("用户住址")
    private String email;

}
